package com.rpj.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.rpj.entity.StuDto;
import com.rpj.entity.StuEntity;

public interface StuService {
List<StuEntity> queryall();
StuEntity findone(StuEntity stu);
StuEntity save(StuEntity stu);
/**
 * 多条件分页查询
 */
public Page<StuEntity> queryByCondition(StuDto dto,Pageable pageable);
//查询专业
List<String>  selMajor();
int updateStu(String stuname,String stupassword,String sex,String status,
		String department,String specialty,String degree,String stuborrowbooknum,String stuborrowmaxnum,String stugivebooknum,String data1,String data2,String data3,String id);
//登录查询
StuEntity stulogin(String stuname,String stupassword);

}
